<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<s:head />
<s:actionerror />

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
</head>
<s:actionerror />
<s:fielderror />
<hr/>
<s:actionerror />
<s:actionmessage />

<body>
<s:fielderror>
	<s:param>requiredStringValidatorField</s:param>
</s:fielderror>
	<s:form action="saveRegister" method="POST" tooltipConfig="%{'jsTooltipEnabled':'true'}"
		validate="true">
		<s:textfield label="用户名" tooltip="用户名" name="register.userName" />	
		<s:password label="密码" tooltip="密码" name="register.passWord" />	
		<s:password label="重复密码" tooltip="重复密码" name="register.rePassWord" />
		<s:textfield label="邮箱" tooltip="邮箱" name="register.email" />
		<s:select label="身份" tooltip="身份" name="register.authority.id" list="auths" 
			listValue="name" listKey="id"/>
		<s:submit value="保存" />
		<s:reset value="重置" />
	</s:form>
	
</body>
</html>